-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feat) add support for OData transform #427
Conversation
Signed-off-by: Dan Selman <[email protected]>
Signed-off-by: Dan Selman <[email protected]>
@@ -137,7 +137,7 @@ | |||
"check-coverage": true, | |||
"statements": 98, | |||
"branches": 97, | |||
"functions": 98, | |||
"functions": 97, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
|
||
/** | ||
* Handle Keys (identifiers). | ||
* In OData a type can only specify a Key if not already specified by a super-type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we have the same constraint in Concerto?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
const Decorator = require('@accordproject/concerto-core').Decorator; | ||
const FileWriter = require('@accordproject/concerto-util').FileWriter; | ||
|
||
describe('ODataVisitor', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how easy it would be to test the validity of the output with an OData parser? Or validate the output against sample data for example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been using a little CSharp app for testing - I've not found anything in JS.
Signed-off-by: Dan Selman [email protected]
Closes #422
Adds a
concerto-tools
visitor to transform Concerto to OData v4.0.1.Changes
ODataVisitor
OData
target to CLIFlags
Screenshots or Video
Related Issues
Author Checklist
--signoff
option of git commit.master
fromfork:branchname